/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cgi.ndk.wf.service;

import com.cgi.ndk.wf.activiti.ActivitiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * @author kovalcikm
 */
@Service
public class ProcessServiceActiviti {

    @Autowired
    ActivitiService activitiService;

    public Object getAllProcesses() {
        return activitiService.getAllProcesses();
    }

    public Object startProcess(Object request) {
        return activitiService.startProcess(request);
    }

    public Object getProcessDetail(String instanceId) {
        return activitiService.getProcessDetail(instanceId);
    }
}
